
<?php if ( !isset($this->loginForm) ) { ?>
	<h3><?= $this->user->username ?></h3>
	<a href="<?= $this->url(array('action'=>'logout'), 'default') ?>">
	<?= $this->translate('logout') ?>
	</a>
<?php } else { ?>
	<small><?= $this->translate('loginHelp') ?></small>
	<?= $this->loginForm ?>
<?php } ?>